package com.yuyu.shop.infrastructure.persistence.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author
 * @version 1.0
 * @description: 优惠PO
 * @date 2022/8/4 10:36
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_activity")
public class ActivityPO extends AbstractBasePO{

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private Long goodsId;
    private Integer type;
    private Long couponAmount;
    private String discountDescribe;
    private Integer reducePercent;
}
